import Vue from 'vue'
import {
    Button, Message, Input, Form, FormItem, Menu, MenuItem, Row, Col, MenuItemGroup,
    Container, Aside, Header, Main, RadioButton, Submenu, Breadcrumb, BreadcrumbItem,
    Card, Select, Table, TableColumn, Pagination, Dialog, Tag, Avatar, Popconfirm, MessageBox,
    Popover,Image,Tree,Option,Cascader,Alert,Tabs,TabPane,Steps,Step,Checkbox,CheckboxGroup,
    Upload
} from 'element-ui'


Vue.use(Button)
Vue.use(Form).use(FormItem).use(Input)
Vue.use(Menu).use(MenuItem).use(Row).use(Col).use(MenuItemGroup)
Vue.use(Container).use(Aside).use(Header).use(Main).use(RadioButton).use(Submenu)
Vue.use(Breadcrumb).use(BreadcrumbItem)
Vue.use(Card).use(Select)
Vue.use(Table).use(TableColumn)
Vue.use(Pagination).use(Dialog)
Vue.use(Tag)
Vue.use(Avatar).use(Popconfirm)
Vue.use(Popover).use(Image)
Vue.use(Tree)
Vue.use(Option).use(Cascader).use(Alert)
Vue.use(Tabs).use(TabPane)
Vue.use(Steps).use(Step)
Vue.use(Checkbox).use(CheckboxGroup)
Vue.use(Upload)
Vue.prototype.$message = Message; //全局挂载
Vue.prototype.$confirm = MessageBox.confirm 